<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../../../lib/jquery.js"></script>
<script type="text/javascript" src="../../../core/common.js"></script>
<script type="text/javascript" src="../../../core/permissionChecker.js"></script>
<script type="text/javascript" src="../../../core/SDKDataManager.js"></script>
<script type="text/javascript" src="../../../core/tickers.js"></script>
<script>
$(document).ready(function(){
	var obj=$("<div></div>");
	$("body").append(obj);
	QSAPI.init('DISN');
	QSAPI.Authentication.login("511F1BFFABACF2797D53014B7B7EF29F502E7015781E8D93A04989A70197E422B9AC0FE2E59882CDC9713E118EEA680F7F0E859C73FBD6BEF64C7DD04490EF1A","62D2A0641B01FBF65FA127365CDC0DC427458A67D958FC979718FF067CCD1A8D8D4E839255D60957C1A502D25C724A1D65F6EEE07636A0AA84E8F51C8D1831EE",{
		onSuccess:function(result){
			QSAPI.TickerFactory.create(["IBM","MSFT","IBM","MSFT","FB","MORN"],
				{
					onSuccess:function(tickerList){
							for(var i=0;i<tickerList.length;i++){
								var ticker=tickerList[i];
								obj.append("Symbol:"+ticker.getField("symbol")).append(" | ");
								obj.append("Exch:"+ticker.getField("exch")).append(" | ");
								obj.append("Name:"+ticker.getField("Name")).append(" | ");
								obj.append("Country:"+ticker.getField("country")).append("<br>");
							}
					}
				});
		
		}
	}); 
});
</script>
<body>
</body>
</html>